package com.byzk.p2p.admin.money.dto;

import java.util.Date;

/**
 * 资金流水记录
 * 
 * @author suker.zhou
 *
 */
public class FundRecord {

	private Integer id;

	private String code;// 资金流水编号

	private Integer userId;// 用户id

	private Integer type;// 资金类型

	private Double income;// 收入

	private Double expend;// 支出
	
	private Double balance; //当前可用余额
	
	private Double freezen; //冻结金额
	
	private Date createTime;// 创建时间

	private String remark;// 备注
	
	private String terminal; //终端
	
	private Integer objectId;//对象id（可以是投资id等）

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code == null ? null : code.trim();
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Double getIncome() {
		return income;
	}

	public void setIncome(Double income) {
		this.income = income;
	}

	public Double getExpend() {
		return expend;
	}

	public void setExpend(Double expend) {
		this.expend = expend;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public String getTerminal() {
		return terminal;
	}

	public void setTerminal(String terminal) {
		this.terminal = terminal;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Integer getObjectId() {
		return objectId;
	}
	
	public void setObjectId(Integer objectId) {
		this.objectId = objectId;
	}

	public Double getFreezen() {
		return freezen;
	}

	public void setFreezen(Double freezen) {
		this.freezen = freezen;
	}
	
	
}